<?php
/**
 * Created by PhpStorm.
 * User: yangwang
 * Date: 2024-04-24
 * Time: 16:04
 */

namespace App\Kuafu\Shop\Controller\Internal;


use App\Kuafu\Base\Controller\BaseController;
use App\Kuafu\Shop\Service\GuanyuanSyncShopListService;
use Illuminate\Http\Request;


class GuanyuanSyncShopListController extends BaseController
{
    public function syncGuanYuanShopList(Request $request)
    {
        $req = $request->all();
        $list = $req['list'] ?? [];
        GuanyuanSyncShopListService::batchInsertData($list);
        return $this->success();
    }

}